﻿/*****************************************介绍*****************************************
 * 作者：Ywh
 * 创建时间：2024-05-26 07:44:19
 * 功能：事件类型
 *      1、项目中需要订阅的事件都从这里声明
**************************************************************************************/

namespace Game.Framework
{
    public sealed class EventName
    {
        /// <summary>MonoBehaviour的Update</summary>
        public const string MonoUpdate = "MonoUpdate_FrameworkEvent";
        /// <summary>MonoBehaviour的FixedUpdate</summary>
        public const string MonoFixedUpdate = "MonoFixedUpdate_FrameworkEvent";
        /// <summary>MonoBehaviour的LateUpdate</summary>
        public const string MonoLateUpdate = "MonoLateUpdate_FrameworkEvent";
        /// <summary>MonoBehaviour的OnApplicationPause</summary>
        public const string MonoOnApplicationPause = "MonoOnApplicationPause_FrameworkEvent";
        /// <summary>MonoBehaviour的OnGUI函数</summary>
        public const string MonoOnGUI = "MonoOnGUI_FrameworkEvent";

        /// <summary>同步加载场景</summary>
        public const string LoadSceneSync = "LoadSceneSync_FrameworkEvent";
        /// <summary>
        /// 异步加载场景的进度，携带一个参数（当前进度）
        /// <para>参数类型：<see cref="float"/></para>
        /// </summary>
        public const string LoadSceneAsyncProgress = "LoadSceneAsyncProgress_FrameworkEvent";
    }
}